package com.dxtan90.gray.impl;


import com.dxtan90.gray.AbstractGrayMethod;

public class AverageMethod extends AbstractGrayMethod {

    public AverageMethod() {
        super("DEAL_AVERAGE");
    }

    @Override
    public int getGrey(int red, int green, int blue) {
        return (red+green+blue)/3;
    }


}
